package com.example.sysao.mapper;

import com.example.sysao.pejo.Repair;

import java.util.List;

public interface RepairMapper {
    //查询
    List<Repair> selectall();

    //根据id查询
    Repair selectById(int id);

    //新增
    int insertRepair(Repair repair);

    int deleteById(int id);

    int updateRepatr(Repair repair);

    List<Repair> selectByKeyWords(String detail, String place);

    List<Repair> selectByid();

    List<Repair> selectByStatus();

    //admin
    List<Repair> selectByStatus1(int page, int size);

    List<Repair> selectByStatus2();

    List<Repair> selectUall();

    List<Repair> findByDtail(String detail);


}
